/* 基础技术图标颜色 */
.html-icon {
  background-color: #e34c26;
}
.css-icon {
  background-color: #264de4;
}
.js-icon {
  background-color: #f0db4f;
  color: #323330;
}
.jquery-icon {
  background-color: #0769ad;
}
.bootstrap-icon {
  background-color: #563d7c;
}

/* 框架图标颜色 */
.vue-icon {
  background-color: #4fc08d;
}
.react-icon {
  background-color: #61dafb;
  color: #20232a;
}
.ts-icon {
  background-color: #3178c6;
}
.taro-icon {
  background-color: #722ed1;
}
.mp-icon {
  background-color: #07c160;
}

/* 组件库图标颜色 */
.antd-icon {
  background-color: #1890ff;
}
.element-icon {
  background-color: #409eff;
}
.nutui-icon {
  background-color: #fa2c19;
}
.uniui-icon {
  background-color: #007aff;
}
.echarts-icon {
  background-color: #3398db;
}

/* CSS预处理语言图标颜色 */
.less-icon {
  background-color: #1d365d;
}
.scss-icon {
  background-color: #cf649a;
}
.uniapp-icon {
  background-color: #007aff;
}

.tech-header {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 32rpx;
  .tech-icon {
    min-width: 40rpx;
    height: 40rpx;
    border-radius: 8rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30rpx;
    font-weight: bold;
    color: white;
    font-size: 16rpx;
  }

  .tech-title {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
  }
}

.content {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 32rpx;
}

.tech-description {
  color: #6e6e73;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* 特性列表 */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20rpx;
  margin-top: 20rpx;
}

.test_btn {
  margin: 32rpx auto;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  height: auto;
  box-sizing: border-box;
  padding: 12rpx 0;
  color: white;
  font-weight: 500;
  background: #007aff;
  transition: background-color 0.2s ease; // 添加过渡效果
  &:active {
    background: #0056b3; // 点击时的背景颜色
  }
}

// .test_btn:active {
//   background: #0056b3; // 点击时的背景颜色
// }

.scrollContainer {
  width: 100vw;
  height: 100rpx;
  background: lightgrey;
  overflow-x: scroll;
  white-space: nowrap;
  margin-top: 20rpx;

  .s_item {
    display: inline-block;
    width: auto;
    height: 100rpx;
    background: #07c160;
    color: white;
    border-radius: 16rpx;
    margin-right: 20rpx;
    box-sizing: border-box;
    padding: 0 20rpx;
    line-height: 100rpx;
    text-align: center;
  }
}
